package com.huangpeng.designmodel.nullObjectModel;

/**
 * @Author hp
 * @Title 实现类
 * @Package
 * @Date 2022/1/18 14:26
 * @Description
 * @Version 1.0
 */
public class RealCustomer extends AbstractCustomer {
    public RealCustomer(String name) {
        this.name = name;
    }

    @Override
    public boolean isNil() {
        return false;
    }

    @Override
    public String getName() {
        return name;
    }
}
